define(['plugins/router'], function (router) {
    return {
        router: router,
        activate: function () {
            return router.map([
                { route: ['labs', ''], moduleId: 'labs/labs', title: '所有', nav: 1, href: 'labs'},
                { route: 'lab/:id*details', moduleId: 'lab/lab', title: '', nav: false, href: 'lab/:id*details'}
            ]).buildNavigationModel()
                .mapUnknownRoutes('labs/labs', 'not-found')
                .activate();
        }
    };
});